package com.yaorange.service.impl;

import com.yaorange.entity.ApplyState;
import com.yaorange.mapper.ApplyStateMapper;
import com.yaorange.service.ApplyStateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @description:
 * @company: yaorange
 * @author: CorJ
 * @version: 1.0
 * @create: 2021-12-01 15:30
 */
@Service
@Transactional
public class ApplyStateServiceImpl implements ApplyStateService {
    @Autowired
    private ApplyStateMapper applyStateMapper;
    @Override
    public List<ApplyState> findAll() {
        return applyStateMapper.selectAll();
    }
}
